import { defineStore } from 'pinia'
import { ref } from 'vue'
export const useSituationReport = defineStore('SituationReport', () => {
  const search = ref({
    grade_id: '',
    subject_id: '',
    class_id: '',
    start_time: 0,
    end_time: 0
  })

  const setSearch = payload => {
    search.value = { ...payload }
  }

  return {
    search,
    setSearch
  }
})
